package com.coffee.daili.api.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.daili.api.query.DailiMerchantQuotaLogQuery;
import com.coffee.daili.api.result.DailiMerchantQuotaLogResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface DailiMerchantQuotaLogService {

	Page<DailiMerchantQuotaLogResult> getPager(DailiMerchantQuotaLogQuery param, PagerInfo pr);
	
	Integer count(DailiMerchantQuotaLogQuery param);
	
	DailiMerchantQuotaLogResult getDetail(Integer id);
	
	List<DailiMerchantQuotaLogResult> getList(DailiMerchantQuotaLogQuery param, PagerInfo pr);
	
	List<DailiMerchantQuotaLogResult> getList(DailiMerchantQuotaLogQuery param);
	
	List<DailiMerchantQuotaLogResult> getList();

	void delete(Integer id);

	void addOrUpdate(DailiMerchantQuotaLogResult result)throws BusinessException;
	
	Map<Integer,DailiMerchantQuotaLogResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,DailiMerchantQuotaLogResult> getItemMap();
	
}